import 'package:flutter/material.dart';

class CachePage extends StatefulWidget {
  final Widget child;

  const CachePage({super.key, required this.child});

  @override
  State<CachePage> createState() => _CachePageState();
}

class _CachePageState extends State<CachePage>
    with AutomaticKeepAliveClientMixin {
  @override
  Widget build(BuildContext context) {
    super.build(context);
    return Scaffold(
      body: widget.child,
    );
  }

  @override
  bool get wantKeepAlive => true;
}
